import axios from "../utils/request";

export const $changePwd = async function (values) {
  let { data } = await axios({
    method: "post",
    url: "/api/changePwd",
    data: values,
  });
  return data;
};
export const $register = async function (values) {
  let { data } = await axios({
    method: "post",
    url: "/api/register",
    data: values,
  });
  return data;
};
